package org.jeecg.modules.platform.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.platform.entity.QuantitySafeguardCode;
import org.jeecg.modules.platform.facade.IQuantitySafeguardCodeFacade;
import org.jeecg.modules.platform.service.IQuantitySafeguardCodeService;
import org.jeecg.modules.platform.vo.QuantitySafeguardCodeVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 质维码
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class QuantitySafeguardCodeFacadeImpl extends IFacadeImpl<QuantitySafeguardCodeVo, QuantitySafeguardCode, IQuantitySafeguardCodeService>  implements IQuantitySafeguardCodeFacade<QuantitySafeguardCodeVo, QuantitySafeguardCode> {
        @Autowired
        private IQuantitySafeguardCodeService quantitySafeguardCodeService;


         @Override
         public QuantitySafeguardCode po2Vo(QuantitySafeguardCodeVo vo) {
                QuantitySafeguardCode po = new QuantitySafeguardCode();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public QuantitySafeguardCodeVo vo2Po(QuantitySafeguardCode po) {
                QuantitySafeguardCodeVo vo = new QuantitySafeguardCodeVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
